package testDome;
class Father{
    int a = 0 ;
    int b = 2 ;
    public void func(){
        System.out.println("333");
    }
}
class Sun extends Father {
    int a = 1 ;
    int c = 3 ;
    int d =4 ;
    public void print(){
        System.out.println(this.a);
        System.out.println(super.a);
        System.out.println(this.d);
    }
    public void func(){
        System.out.println(444);
    }

}

public class Test {
    public static void main(String[] args) {
        Sun sun = new Sun() ;
        sun.func();
    }
}
